Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 4 - Colors and Color-Related Objects / Colors and Color-Related Objects Reference
Color Set Functions / Manipulating Color Set Object Properties


GXGetColorSetOwners

You can use the GXGetColorSetOwners function to determine the number of references to a particular color set object.

long GXGetColorSetOwners(gxColorSet source);
source
A reference to the color set object to find the owner count of.
function result
The owner count of the color set object referenced in the source parameter.
DESCRIPTION
The GXGetColorSetOwners function returns the owner count of the referenced color set. The owner count is the current number of references to the color set object.

ERRORS, WARNINGS, AND NOTICES
Errors 
colorSet_is_nil 
SEE ALSO
Owner counts for color set objects are discussed in the section "Copying, Comparing, and Cloning Color Sets and Color Profiles" beginning on page 4-44, and in the section "Manipulating Owner Counts" beginning on page 4-46.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996